package com.ruoyi.mysystem.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单管理对象 sys_order
 * 
 * @author bai
 * @date 2024-05-02
 */
public class SysOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单ID */
    private Long orderId;

    /** 商家订单号 */
    @Excel(name = "商家订单号")
    private Long orderNum;

    /** 交易流水号 */
    @Excel(name = "交易流水号")
    private String tradeNum;

    /** 交易商家 */
    @Excel(name = "交易商家")
    private String tradeMerchant;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String orderStatus;

    /** 交易商品 */
    @Excel(name = "交易商品")
    private String tradeGoods;

    /** 订单金额 */
    @Excel(name = "订单金额")
    private Double orderMoney;

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }
    public void setTradeNum(String tradeNum)
    {
        this.tradeNum = tradeNum;
    }

    public String getTradeNum()
    {
        return tradeNum;
    }
    public void setTradeMerchant(String tradeMerchant) 
    {
        this.tradeMerchant = tradeMerchant;
    }

    public String getTradeMerchant() 
    {
        return tradeMerchant;
    }
    public void setOrderStatus(String orderStatus) 
    {
        this.orderStatus = orderStatus;
    }

    public String getOrderStatus() 
    {
        return orderStatus;
    }
    public void setTradeGoods(String tradeGoods) 
    {
        this.tradeGoods = tradeGoods;
    }

    public String getTradeGoods() 
    {
        return tradeGoods;
    }
    public void setOrderMoney(Double orderMoney) 
    {
        this.orderMoney = orderMoney;
    }

    public Double getOrderMoney() 
    {
        return orderMoney;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("orderNum", getOrderNum())
            .append("tradeNum", getTradeNum())
            .append("tradeMerchant", getTradeMerchant())
            .append("orderStatus", getOrderStatus())
            .append("tradeGoods", getTradeGoods())
            .append("orderMoney", getOrderMoney())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
